Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ginkgo tests #17

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Ginkgo tests #17

merged 2 commits into from
Feb 15, 2024

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Feb 15, 2024

Added ginkgo tests.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
This test revealed that we didn't care if the API client is nil, which
caused the controller to crash when trying to list OS images.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Merging #17 (ece75f6) into main (8cb6ff2) will increase coverage by 38.83%.
The diff coverage is 7.69%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #17       +/-   ##
===========================================
+ Coverage   20.45%   59.28%   +38.83%     
===========================================
  Files           2        2               
  Lines         132      140        +8     
===========================================
+ Hits           27       83       +56     
+ Misses        104       51       -53     
- Partials        1        6        +5     
Files Coverage Δ
internal/controller/maasvalidator_controller.go 80.00% <100.00%> (+80.00%) ⬆️
internal/validators/maas_validator.go 38.57% <0.00%> (-4.98%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8cb6ff2...ece75f6. Read the comment docs.

@TylerGillson TylerGillson merged commit e91ca93 into main Feb 15, 2024
6 of 8 checks passed
@TylerGillson TylerGillson deleted the ginkgo-tests branch February 15, 2024 14:50
This was referenced Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants